/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lsl.lexer;

/**
 *
 * @author geertjan
 */
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.netbeans.spi.lexer.LanguageHierarchy;
import org.netbeans.spi.lexer.Lexer;
import org.netbeans.spi.lexer.LexerRestartInfo;

/**
 *
 * @author eppleton
 */
public class lslLanguageHierarchy extends LanguageHierarchy<lslTokenId> {

    private static List<lslTokenId> tokens;
    private static Map<Integer, lslTokenId> idToToken;

    private static void init() {
        tokens = Arrays.<lslTokenId>asList(new lslTokenId[]{
                    new lslTokenId("EOF", "whitespace", 0),
                    new lslTokenId("WHITESPACE", "whitespace", 1),
                    new lslTokenId("SINGLE_LINE_COMMENT", "comment", 2),
                    //flow
                    new lslTokenId("DEFAULT", "flowcontrol", 3),
                    new lslTokenId("DO", "flowcontrol", 4),
                    new lslTokenId("ELSE", "flowcontrol", 5),
                    new lslTokenId("FOR", "flowcontrol", 6),
                    new lslTokenId("IF", "flowcontrol", 7),
                    new lslTokenId("JUMP", "flowcontrol", 8),
                    new lslTokenId("RETURN", "flowcontrol", 9),
                    new lslTokenId("STATE", "flowcontrol", 10),
                    new lslTokenId("WHILE", "flowcontrol", 11),
                    //data
                    new lslTokenId("FLOAT", "datatype", 12),
                    new lslTokenId("INTEGER", "datatype", 13),
                    new lslTokenId("KEY", "datatype", 14),
                    new lslTokenId("LIST", "datatype", 15),
                    new lslTokenId("ROTATION", "datatype", 16),
                    new lslTokenId("STRING", "datatype", 17),
                    new lslTokenId("VECTOR", "datatype", 18),
                    //functions
                    new lslTokenId("LLABS", "bfunctions", 19),
                    new lslTokenId("LLACOS", "bfunctions", 20),
                    new lslTokenId("LLADDTOLANDBANLIST", "bfunctions", 21),
                    new lslTokenId("LLADDTOLANDPASSLIST", "bfunctions", 22),
                    new lslTokenId("LLADJUSTSOUNDVOLUME", "bfunctions", 23),
                    new lslTokenId("LLALLOWINVENTORYDROP", "bfunctions", 24),
                    new lslTokenId("LLANGLEBETWEEN", "bfunctions", 25),
                    new lslTokenId("LLAPPLYIMPULSE", "bfunctions", 26),
                    new lslTokenId("LLAPPLYROTATIONALIMPULSE", "bfunctions", 27),
                    new lslTokenId("LLASIN", "bfunctions", 28),
                    new lslTokenId("LLATAN2", "bfunctions", 29),
                    new lslTokenId("LLATTACHTOAVATAR", "bfunctions", 30),
                    new lslTokenId("LLAVATARONSITTARGET", "bfunctions", 31),
                    new lslTokenId("LLAXES2ROT", "bfunctions", 32),
                    new lslTokenId("LLAXISANGLE2ROT", "bfunctions", 33),
                    new lslTokenId("LLBASE64TOINTEGER", "bfunctions", 34),
                    new lslTokenId("LLBASE64TOSTRING", "bfunctions", 35),
                    new lslTokenId("LLBREAKALLLINKS", "bfunctions", 36),
                    new lslTokenId("LLBREAKLINK", "bfunctions", 37),
                    new lslTokenId("LLCEIL", "bfunctions", 38),
                    new lslTokenId("LLCLEARCAMERAPARAMS", "bfunctions", 39),
                    new lslTokenId("LLCLOSEREMOTEDATACHANNEL", "bfunctions", 40),
                    new lslTokenId("LLCLOUD", "bfunctions", 41),
                    new lslTokenId("LLCOLLISIONFILTER", "bfunctions", 42),
                    new lslTokenId("LLCOLLISIONSOUND", "bfunctions", 43),
                    new lslTokenId("LLCOLLISIONSPRITE", "bfunctions", 44),
                    new lslTokenId("LLCOS", "bfunctions", 45),
                    new lslTokenId("LLCREATELINK", "bfunctions", 46),
                    new lslTokenId("LLCSV2LIST", "bfunctions", 47),
                    new lslTokenId("LLDELETESUBLIST", "bfunctions", 48),
                    new lslTokenId("LLDELETESUBSTRING", "bfunctions", 49),
                    new lslTokenId("LLDETACHFROMAVATAR", "bfunctions", 50),
                    new lslTokenId("LLDETECTEDGRAB", "bfunctions", 51),
                    new lslTokenId("LLDETECTEDGROUP", "bfunctions", 52),
                    new lslTokenId("LLDETECTEDKEY", "bfunctions", 53),
                    new lslTokenId("LLDETECTEDLINKNUMBER", "bfunctions", 54),
                    new lslTokenId("LLDETECTEDNAME", "bfunctions", 55),
                    new lslTokenId("LLDETECTEDOWNER", "bfunctions", 56),
                    new lslTokenId("LLDETECTEDPOS", "bfunctions", 57),
                    new lslTokenId("LLDETECTEDROT", "bfunctions", 58),
                    new lslTokenId("LLDETECTEDTOUCHBINORMAL", "bfunctions", 59),
                    new lslTokenId("LLDETECTEDTOUCHFACE", "bfunctions", 60),
                    new lslTokenId("LLDETECTEDTOUCHNORMAL", "bfunctions", 61),
                    new lslTokenId("LLDETECTEDTOUCHPOS", "bfunctions", 62),
                    new lslTokenId("LLDETECTEDTOUCHST", "bfunctions", 63),
                    new lslTokenId("LLDETECTEDTOUCHUV", "bfunctions", 64),
                    new lslTokenId("LLDETECTEDTYPE", "bfunctions", 65),
                    new lslTokenId("LLDETECTEDVEL", "bfunctions", 66),
                    new lslTokenId("LLDIALOG", "bfunctions", 67),
                    new lslTokenId("LLDIE", "bfunctions", 68),
                    new lslTokenId("LLDUMPLIST2STRING", "bfunctions", 69),
                    new lslTokenId("LLEDGEOFWORLD", "bfunctions", 70),
                    new lslTokenId("LLEJECTFROMLAND", "bfunctions", 71),
                    new lslTokenId("LLEMAIL", "bfunctions", 72),
                    new lslTokenId("LLESCAPEURL", "bfunctions", 73),
                    new lslTokenId("LLEULER2ROT", "bfunctions", 74),
                    new lslTokenId("LLFABS", "bfunctions", 75),
                    new lslTokenId("LLFLOOR", "bfunctions", 76),
                    new lslTokenId("LLFORCEMOUSELOOK", "bfunctions", 77),
                    new lslTokenId("LLFRAND", "bfunctions", 78),
                    new lslTokenId("LLGETACCEL", "bfunctions", 79),
                    new lslTokenId("LLGETAGENTINFO", "bfunctions", 80),
                    new lslTokenId("LLGETAGENTLANGUAGE", "bfunctions", 81),
                    new lslTokenId("LLGETAGENTSIZE", "bfunctions", 82),
                    new lslTokenId("LLGETALPHA", "bfunctions", 83),
                    new lslTokenId("LLGETANDRESETTIME", "bfunctions", 84),
                    new lslTokenId("LLGETANIMATION", "bfunctions", 85),
                    new lslTokenId("LLGETANIMATIONLIST", "bfunctions", 86),
                    new lslTokenId("LLGETATTACHED", "bfunctions", 87),
                    new lslTokenId("LLGETBOUNDINGBOX", "bfunctions", 88),
                    new lslTokenId("LLGETCAMERAPOS", "bfunctions", 89),
                    new lslTokenId("LLGETCAMERAROT", "bfunctions", 90),
                    new lslTokenId("LLGETCENTEROFMASS", "bfunctions", 91),
                    new lslTokenId("LLGETCOLOR", "bfunctions", 92),
                    new lslTokenId("LLGETCREATOR", "bfunctions", 93),
                    new lslTokenId("LLGETDATE", "bfunctions", 94),
                    new lslTokenId("LLGETENERGY", "bfunctions", 95),
                    new lslTokenId("LLGETFORCE", "bfunctions", 96),
                    new lslTokenId("LLGETFREEMEMORY", "bfunctions", 97),
                    new lslTokenId("LLGETFREEURLS", "bfunctions", 98),
                    new lslTokenId("LLGETGEOMETRICCENTER", "bfunctions", 99),
                    new lslTokenId("LLGETGMTCLOCK", "bfunctions", 100),
                    new lslTokenId("LLGETHTTPHEADER", "bfunctions", 101),
                    new lslTokenId("LLGETINVENTORYCREATOR", "bfunctions", 102),
                    new lslTokenId("LLGETINVENTORYKEY", "bfunctions", 103),
                    new lslTokenId("LLGETINVENTORYNAME", "bfunctions", 104),
                    new lslTokenId("LLGETINVENTORYNUMBER", "bfunctions", 105),
                    new lslTokenId("LLGETINVENTORYPERMMASK", "bfunctions", 106),
                    new lslTokenId("LLGETINVENTORYTYPE", "bfunctions", 107),
                    new lslTokenId("LLGETKEY", "bfunctions", 108),
                    new lslTokenId("LLGETLANDOWNERAT", "bfunctions", 109),
                    new lslTokenId("LLGETLINKKEY", "bfunctions", 110),
                    new lslTokenId("LLGETLINKNAME", "bfunctions", 111),
                    new lslTokenId("LLGETLINKNUMBER", "bfunctions", 112),
                    new lslTokenId("LLGETLISTENTRYTYPE", "bfunctions", 113),
                    new lslTokenId("LLGETLISTLENGTH", "bfunctions", 114),
                    new lslTokenId("LLGETLOCALPOS", "bfunctions", 115),
                    new lslTokenId("LLGETLOCALROT", "bfunctions", 116),
                    new lslTokenId("LLGETMASS", "bfunctions", 117),
                    new lslTokenId("LLGETNEXTEMAIL", "bfunctions", 118),
                    new lslTokenId("LLGETNOTECARDLINE", "bfunctions", 119),
                    new lslTokenId("LLGETNUMBEROFNOTECARDLINES", "bfunctions", 120),
                    new lslTokenId("LLGETNUMBEROFPRIMS", "bfunctions", 121),
                    new lslTokenId("LLGETNUMBEROFSIDES", "bfunctions", 122),
                    new lslTokenId("LLGETOBJECTDESC", "bfunctions", 123),
                    new lslTokenId("LLGETOBJECTDETAILS", "bfunctions", 124),
                    new lslTokenId("LLGETOBJECTMASS", "bfunctions", 125),
                    new lslTokenId("LLGETOBJECTNAME", "bfunctions", 126),
                    new lslTokenId("LLGETOBJECTPERMMASK", "bfunctions", 127),
                    new lslTokenId("LLGETOBJECTPRIMCOUNT", "bfunctions", 128),
                    new lslTokenId("LLGETOMEGA", "bfunctions", 129),
                    new lslTokenId("LLGETOWNER", "bfunctions", 130),
                    new lslTokenId("LLGETOWNERKEY", "bfunctions", 131),
                    new lslTokenId("LLGETPARCELDETAILS", "bfunctions", 132),
                    new lslTokenId("LLGETPARCELFLAGS", "bfunctions", 133),
                    new lslTokenId("LLGETPARCELMAXPRIMS", "bfunctions", 134),
                    new lslTokenId("LLGETPARCELPRIMCOUNT", "bfunctions", 135),
                    new lslTokenId("LLGETPARCELPRIMOWNERS", "bfunctions", 136),
                    new lslTokenId("LLGETPERMISSIONS", "bfunctions", 137),
                    new lslTokenId("LLGETPERMISSIONSKEY", "bfunctions", 138),
                    new lslTokenId("LLGETPOS", "bfunctions", 139),
                    new lslTokenId("LLGETPRIMITIVEPARAMS", "bfunctions", 140),
                    new lslTokenId("LLGETREGIONAGENTCOUNT", "bfunctions", 141),
                    new lslTokenId("LLGETREGIONCORNER", "bfunctions", 142),
                    new lslTokenId("LLGETREGIONFLAGS", "bfunctions", 143),
                    new lslTokenId("LLGETREGIONFPS", "bfunctions", 144),
                    new lslTokenId("LLGETREGIONNAME", "bfunctions", 145),
                    new lslTokenId("LLGETREGIONTIMEDILATION", "bfunctions", 146),
                    new lslTokenId("LLGETROOTPOSITION", "bfunctions", 147),
                    new lslTokenId("LLGETROOTROTATION", "bfunctions", 148),
                    new lslTokenId("LLGETROT", "bfunctions", 149),
                    new lslTokenId("LLGETSCALE", "bfunctions", 150),
                    new lslTokenId("LLGETSCRIPTNAME", "bfunctions", 151),
                    new lslTokenId("LLGETSCRIPTSTATE", "bfunctions", 152),
                    new lslTokenId("LLGETSIMULATORHOSTNAME", "bfunctions", 153),
                    new lslTokenId("LLGETSTARTPARAMETER", "bfunctions", 154),
                    new lslTokenId("LLGETSTATUS", "bfunctions", 155),
                    new lslTokenId("LLGETSUBSTRING", "bfunctions", 156),
                    new lslTokenId("LLGETSUNDIRECTION", "bfunctions", 157),
                    new lslTokenId("LLGETTEXTURE", "bfunctions", 158),
                    new lslTokenId("LLGETTEXTUREOFFSET", "bfunctions", 159),
                    new lslTokenId("LLGETTEXTUREROT", "bfunctions", 160),
                    new lslTokenId("LLGETTEXTURESCALE", "bfunctions", 161),
                    new lslTokenId("LLGETTIME", "bfunctions", 162),
                    new lslTokenId("LLGETTIMEOFDAY", "bfunctions", 163),
                    new lslTokenId("LLGETTIMESTAMP", "bfunctions", 164),
                    new lslTokenId("LLGETTORQUE", "bfunctions", 165),
                    new lslTokenId("LLGETUNIXTIME", "bfunctions", 166),
                    new lslTokenId("LLGETVEL", "bfunctions", 167),
                    new lslTokenId("LLGETWALLCLOCK", "bfunctions", 168),
                    new lslTokenId("LLGIVEINVENTORY", "bfunctions", 169),
                    new lslTokenId("LLGIVEINVENTORYLIST", "bfunctions", 170),
                    new lslTokenId("LLGIVEMONEY", "bfunctions", 171),
                    new lslTokenId("LLGODLIKEREZOBJECT", "bfunctions", 172),
                    new lslTokenId("LLGROUND", "bfunctions", 173),
                    new lslTokenId("LLGROUNDCONTOUR", "bfunctions", 174),
                    new lslTokenId("LLGROUNDNORMAL", "bfunctions", 175),
                    new lslTokenId("LLGROUNDREPEL", "bfunctions", 176),
                    new lslTokenId("LLGROUNDSLOPE", "bfunctions", 177),
                    new lslTokenId("LLHTTPREQUEST", "bfunctions", 178),
                    new lslTokenId("LLHTTPRESPONSE", "bfunctions", 179),
                    new lslTokenId("LLINSERTSTRING", "bfunctions", 180),
                    new lslTokenId("LLINSTANTMESSAGE", "bfunctions", 181),
                    new lslTokenId("LLINTEGERTOBASE64", "bfunctions", 182),
                    new lslTokenId("LLKEY2NAME", "bfunctions", 183),
                    new lslTokenId("LLLIST2CSV", "bfunctions", 184),
                    new lslTokenId("LLLIST2FLOAT", "bfunctions", 185),
                    new lslTokenId("LLLIST2INTEGER", "bfunctions", 186),
                    new lslTokenId("LLLIST2KEY", "bfunctions", 187),
                    new lslTokenId("LLLIST2LIST", "bfunctions", 188),
                    new lslTokenId("LLLIST2LISTSTRIDED", "bfunctions", 189),
                    new lslTokenId("LLLIST2ROT", "bfunctions", 190),
                    new lslTokenId("LLLIST2STRING", "bfunctions", 191),
                    new lslTokenId("LLLIST2VECTOR", "bfunctions", 192),
                    new lslTokenId("LLLISTEN", "bfunctions", 193),
                    new lslTokenId("LLLISTENCONTROL", "bfunctions", 194),
                    new lslTokenId("LLLISTENREMOVE", "bfunctions", 195),
                    new lslTokenId("LLLISTFINDLIST", "bfunctions", 196),
                    new lslTokenId("LLLISTINSERTLIST", "bfunctions", 197),
                    new lslTokenId("LLLISTRANDOMIZE", "bfunctions", 198),
                    new lslTokenId("LLLISTREPLACELIST", "bfunctions", 199),
                    new lslTokenId("LLLISTSORT", "bfunctions", 200),
                    new lslTokenId("LLLISTSTATISTICS", "bfunctions", 201),
                    new lslTokenId("LLLOADURL", "bfunctions", 202),
                    new lslTokenId("LLLOG", "bfunctions", 203),
                    new lslTokenId("LLLOG10", "bfunctions", 204),
                    new lslTokenId("LLLOOKAT", "bfunctions", 205),
                    new lslTokenId("LLLOOPSOUND", "bfunctions", 206),
                    new lslTokenId("LLLOOPSOUNDMASTER", "bfunctions", 207),
                    new lslTokenId("LLLOOPSOUNDSLAVE", "bfunctions", 208),
                    new lslTokenId("LLMAKEEXPLOSION", "bfunctions", 209),
                    new lslTokenId("LLMAKEFIRE", "bfunctions", 210),
                    new lslTokenId("LLMAKEFOUNTAIN", "bfunctions", 211),
                    new lslTokenId("LLMAKESMOKE", "bfunctions", 212),
                    new lslTokenId("LLMAPDESTINATION", "bfunctions", 213),
                    new lslTokenId("LLMD5STRING", "bfunctions", 214),
                    new lslTokenId("LLMESSAGELINKED", "bfunctions", 215),
                    new lslTokenId("LLMINEVENTDELAY", "bfunctions", 216),
                    new lslTokenId("LLMODIFYLAND", "bfunctions", 217),
                    new lslTokenId("LLMODPOW", "bfunctions", 218),
                    new lslTokenId("LLMOVETOTARGET", "bfunctions", 219),
                    new lslTokenId("LLOFFSETTEXTURE", "bfunctions", 220),
                    new lslTokenId("LLOPENREMOTEDATACHANNEL", "bfunctions", 221),
                    new lslTokenId("LLOVERMYLAND", "bfunctions", 222),
                    new lslTokenId("LLOWNERSAY", "bfunctions", 223),
                    new lslTokenId("LLPARCELMEDIACOMMANDLIST", "bfunctions", 224),
                    new lslTokenId("LLPARCELMEDIAQUERY", "bfunctions", 225),
                    new lslTokenId("LLPARSESTRING2LIST", "bfunctions", 226),
                    new lslTokenId("LLPARSESTRINGKEEPNULLS", "bfunctions", 227),
                    new lslTokenId("LLPARTICLESYSTEM", "bfunctions", 228),
                    new lslTokenId("LLPASSCOLLISIONS", "bfunctions", 229),
                    new lslTokenId("LLPASSTOUCHES", "bfunctions", 230),
                    new lslTokenId("LLPLAYSOUND", "bfunctions", 231),
                    new lslTokenId("LLPLAYSOUNDSLAVE", "bfunctions", 232),
                    new lslTokenId("LLPOINTAT", "bfunctions", 233),
                    new lslTokenId("LLPOW", "bfunctions", 234),
                    new lslTokenId("LLPRELOADSOUND", "bfunctions", 235),
                    new lslTokenId("LLPUSHOBJECT", "bfunctions", 236),
                    new lslTokenId("LLREFRESHPRIMURL", "bfunctions", 237),
                    new lslTokenId("LLREGIONSAY", "bfunctions", 238),
                    new lslTokenId("LLRELEASECAMERA", "bfunctions", 239),
                    new lslTokenId("LLRELEASECONTROLS", "bfunctions", 240),
                    new lslTokenId("LLRELEASEURL", "bfunctions", 241),
                    new lslTokenId("LLREMOTEDATAREPLY", "bfunctions", 242),
                    new lslTokenId("LLREMOTEDATASETREGION", "bfunctions", 243),
                    new lslTokenId("LLREMOTELOADSCRIPTPIN", "bfunctions", 244),
                    new lslTokenId("LLREMOVEFROMLANDBANLIST", "bfunctions", 245),
                    new lslTokenId("LLREMOVEFROMLANDPASSLIST", "bfunctions", 246),
                    new lslTokenId("LLREMOVEINVENTORY", "bfunctions", 247),
                    new lslTokenId("LLREMOVEVEHICLEFLAGS", "bfunctions", 248),
                    new lslTokenId("LLREQUESTAGENTDATA", "bfunctions", 249),
                    new lslTokenId("LLREQUESTINVENTORYDATA", "bfunctions", 250),
                    new lslTokenId("LLREQUESTPERMISSIONS", "bfunctions", 251),
                    new lslTokenId("LLREQUESTSECUREURL", "bfunctions", 252),
                    new lslTokenId("LLREQUESTSIMULATORDATA", "bfunctions", 253),
                    new lslTokenId("LLREQUESTURL", "bfunctions", 254),
                    new lslTokenId("LLRESETLANDBANLIST", "bfunctions", 255),
                    new lslTokenId("LLRESETLANDPASSLIST", "bfunctions", 256),
                    new lslTokenId("LLRESETOTHERSCRIPT", "bfunctions", 257),
                    new lslTokenId("LLRESETSCRIPT", "bfunctions", 258),
                    new lslTokenId("LLRESETTIME", "bfunctions", 259),
                    new lslTokenId("LLREZATROOT", "bfunctions", 260),
                    new lslTokenId("LLREZOBJECT", "bfunctions", 261),
                    new lslTokenId("LLROT2ANGLE", "bfunctions", 262),
                    new lslTokenId("LLROT2AXIS", "bfunctions", 263),
                    new lslTokenId("LLROT2EULER", "bfunctions", 264),
                    new lslTokenId("LLROT2FWD", "bfunctions", 265),
                    new lslTokenId("LLROT2LEFT", "bfunctions", 266),
                    new lslTokenId("LLROT2UP", "bfunctions", 267),
                    new lslTokenId("LLROTATETEXTURE", "bfunctions", 268),
                    new lslTokenId("LLROTBETWEEN", "bfunctions", 269),
                    new lslTokenId("LLROTLOOKAT", "bfunctions", 270),
                    new lslTokenId("LLROTTARGET", "bfunctions", 271),
                    new lslTokenId("LLROTTARGETREMOVE", "bfunctions", 272),
                    new lslTokenId("LLROUND", "bfunctions", 273),
                    new lslTokenId("LLSAMEGROUP", "bfunctions", 274),
                    new lslTokenId("LLSAY", "bfunctions", 275),
                    new lslTokenId("LLSCALETEXTURE", "bfunctions", 276),
                    new lslTokenId("LLSCRIPTDANGER", "bfunctions", 277),
                    new lslTokenId("LLSENDREMOTEDATA", "bfunctions", 278),
                    new lslTokenId("LLSENSOR", "bfunctions", 279),
                    new lslTokenId("LLSENSORREMOVE", "bfunctions", 280),
                    new lslTokenId("LLSENSORREPEAT", "bfunctions", 281),
                    new lslTokenId("LLSETALPHA", "bfunctions", 282),
                    new lslTokenId("LLSETBUOYANCY", "bfunctions", 283),
                    new lslTokenId("LLSETCAMERAATOFFSET", "bfunctions", 284),
                    new lslTokenId("LLSETCAMERAEYEOFFSET", "bfunctions", 285),
                    new lslTokenId("LLSETCAMERAPARAMS", "bfunctions", 286),
                    new lslTokenId("LLSETCLICKACTION", "bfunctions", 287),
                    new lslTokenId("LLSETCOLOR", "bfunctions", 288),
                    new lslTokenId("LLSETDAMAGE", "bfunctions", 289),
                    new lslTokenId("LLSETFORCE", "bfunctions", 290),
                    new lslTokenId("LLSETFORCEANDTORQUE", "bfunctions", 291),
                    new lslTokenId("LLSETHOVERHEIGHT", "bfunctions", 292),
                    new lslTokenId("LLSETINVENTORYPERMMASK", "bfunctions", 293),
                    new lslTokenId("LLSETLINKALPHA", "bfunctions", 294),
                    new lslTokenId("LLSETLINKCOLOR", "bfunctions", 295),
                    new lslTokenId("LLSETLINKPRIMITIVEPARAMS", "bfunctions", 296),
                    new lslTokenId("LLSETLINKTEXTURE", "bfunctions", 297),
                    new lslTokenId("LLSETLOCALROT", "bfunctions", 298),
                    new lslTokenId("LLSETOBJECTDESC", "bfunctions", 299),
                    new lslTokenId("LLSETOBJECTNAME", "bfunctions", 300),
                    new lslTokenId("LLSETOBJECTPERMMASK", "bfunctions", 301),
                    new lslTokenId("LLSETPARCELMUSICURL", "bfunctions", 302),
                    new lslTokenId("LLSETPAYPRICE", "bfunctions", 303),
                    new lslTokenId("LLSETPOS", "bfunctions", 304),
                    new lslTokenId("LLSETPRIMITIVEPARAMS", "bfunctions", 305),
                    new lslTokenId("LLSETPRIMURL", "bfunctions", 306),
                    new lslTokenId("LLSETREMOTESCRIPTACCESSPIN", "bfunctions", 307),
                    new lslTokenId("LLSETROT", "bfunctions", 308),
                    new lslTokenId("LLSETSCALE", "bfunctions", 309),
                    new lslTokenId("LLSETSCRIPTSTATE", "bfunctions", 310),
                    new lslTokenId("LLSETSITTEXT", "bfunctions", 311),
                    new lslTokenId("LLSETSOUNDQUEUEING", "bfunctions", 312),
                    new lslTokenId("LLSETSOUNDRADIUS", "bfunctions", 313),
                    new lslTokenId("LLSETSTATUS", "bfunctions", 314),
                    new lslTokenId("LLSETTEXT", "bfunctions", 315),
                    new lslTokenId("LLSETTEXTURE", "bfunctions", 316),
                    new lslTokenId("LLSETTEXTUREANIM", "bfunctions", 317),
                    new lslTokenId("LLSETTIMEREVENT", "bfunctions", 318),
                    new lslTokenId("LLSETTORQUE", "bfunctions", 319),
                    new lslTokenId("LLSETTOUCHTEXT", "bfunctions", 320),
                    new lslTokenId("LLSETVEHICLEFLAGS", "bfunctions", 321),
                    new lslTokenId("LLSETVEHICLEFLOATPARAM", "bfunctions", 322),
                    new lslTokenId("LLSETVEHICLEROTATIONPARAM", "bfunctions", 323),
                    new lslTokenId("LLSETVEHICLETYPE", "bfunctions", 324),
                    new lslTokenId("LLSETVEHICLEVECTORPARAM", "bfunctions", 325),
                    new lslTokenId("LLSHA1STRING", "bfunctions", 326),
                    new lslTokenId("LLSHOUT", "bfunctions", 327),
                    new lslTokenId("LLSIN", "bfunctions", 328),
                    new lslTokenId("LLSITTARGET", "bfunctions", 329),
                    new lslTokenId("LLSLEEP", "bfunctions", 330),
                    new lslTokenId("LLSOUND", "bfunctions", 331),
                    new lslTokenId("LLSOUNDPRELOAD", "bfunctions", 332),
                    new lslTokenId("LLSQRT", "bfunctions", 333),
                    new lslTokenId("LLSTARTANIMATION", "bfunctions", 334),
                    new lslTokenId("LLSTOPANIMATION", "bfunctions", 335),
                    new lslTokenId("LLSTOPHOVER", "bfunctions", 336),
                    new lslTokenId("LLSTOPLOOKAT", "bfunctions", 337),
                    new lslTokenId("LLSTOPMOVETOTARGET", "bfunctions", 338),
                    new lslTokenId("LLSTOPPOINTAT", "bfunctions", 339),
                    new lslTokenId("LLSTOPSOUND", "bfunctions", 340),
                    new lslTokenId("LLSTRINGLENGTH", "bfunctions", 341),
                    new lslTokenId("LLSTRINGTOBASE64", "bfunctions", 342),
                    new lslTokenId("LLSTRINGTRIM", "bfunctions", 343),
                    new lslTokenId("LLSUBSTRINGINDEX", "bfunctions", 344),
                    new lslTokenId("LLTAKECAMERA", "bfunctions", 345),
                    new lslTokenId("LLTAKECONTROLS", "bfunctions", 346),
                    new lslTokenId("LLTAN", "bfunctions", 347),
                    new lslTokenId("LLTARGET", "bfunctions", 348),
                    new lslTokenId("LLTARGETOMEGA", "bfunctions", 349),
                    new lslTokenId("LLTARGETREMOVE", "bfunctions", 350),
                    new lslTokenId("LLTELEPORTAGENTHOME", "bfunctions", 351),
                    new lslTokenId("LLTEXTBOX", "bfunctions", 352),
                    new lslTokenId("LLTOLOWER", "bfunctions", 353),
                    new lslTokenId("LLTOUPPER", "bfunctions", 354),
                    new lslTokenId("LLTRIGGERSOUND", "bfunctions", 355),
                    new lslTokenId("LLTRIGGERSOUNDLIMITED", "bfunctions", 356),
                    new lslTokenId("LLUNESCAPEURL", "bfunctions", 357),
                    new lslTokenId("LLUNSIT", "bfunctions", 358),
                    new lslTokenId("LLVECDIST", "bfunctions", 359),
                    new lslTokenId("LLVECMAG", "bfunctions", 360),
                    new lslTokenId("LLVECNORM", "bfunctions", 361),
                    new lslTokenId("LLVOLUMEDETECT", "bfunctions", 362),
                    new lslTokenId("LLWATER", "bfunctions", 363),
                    new lslTokenId("LLWHISPER", "bfunctions", 364),
                    new lslTokenId("LLWIND", "bfunctions", 365),
                    new lslTokenId("LLXORBASE64STRINGSCORRECT", "bfunctions", 366),
                    //ecvents
                    new lslTokenId("AT_ROT_TARGET", "events", 367),
                    new lslTokenId("AT_TARGET", "events", 368),
                    new lslTokenId("ATTACH", "events", 369),
                    new lslTokenId("CHANGED", "events", 370),
                    new lslTokenId("COLLISION", "events", 371),
                    new lslTokenId("COLLISION_END", "events", 372),
                    new lslTokenId("COLLISION_START", "events", 373),
                    new lslTokenId("CONTROL", "events", 374),
                    new lslTokenId("DATASERVER", "events", 375),
                    new lslTokenId("EMAIL", "events", 376),
                    new lslTokenId("HTTP_REQUEST", "events", 377),
                    new lslTokenId("HTTP_RESPONSE", "events", 378),
                    new lslTokenId("LAND_COLLISION", "events", 379),
                    new lslTokenId("LAND_COLLISION_END", "events", 380),
                    new lslTokenId("LAND_COLLISION_START", "events", 381),
                    new lslTokenId("LINK_MESSAGE", "events", 382),
                    new lslTokenId("LISTEN", "events", 383),
                    new lslTokenId("MONEY", "events", 384),
                    new lslTokenId("MOVING_END", "events", 385),
                    new lslTokenId("MOVING_START", "events", 386),
                    new lslTokenId("NO_SENSOR", "events", 387),
                    new lslTokenId("NOT_AT_ROT_TARGET", "events", 388),
                    new lslTokenId("NOT_AT_TARGET", "events", 389),
                    new lslTokenId("OBJECT_REZ", "events", 390),
                    new lslTokenId("ON_REZ", "events", 391),
                    new lslTokenId("REMOTE_DATA", "events", 392),
                    new lslTokenId("RUN_TIME_PERMISSIONS", "events", 393),
                    new lslTokenId("SENSOR", "events", 394),
                    new lslTokenId("STATE_ENTRY", "events", 395),
                    new lslTokenId("STATE_EXIT", "events", 396),
                    new lslTokenId("TIMER", "events", 397),
                    new lslTokenId("TOUCH", "events", 398),
                    new lslTokenId("TOUCH_END", "events", 399),
                    new lslTokenId("TOUCH_START", "events", 400),
                    //   Constants
                    new lslTokenId("ACTIVE", "constants", 401),
                    new lslTokenId("AGENT", "constants", 402),
                    new lslTokenId("AGENT_ALWAYS_RUN", "constants", 403),
                    new lslTokenId("AGENT_ATTACHMENTS", "constants", 404),
                    new lslTokenId("AGENT_AWAY", "constants", 405),
                    new lslTokenId("AGENT_BUSY", "constants", 406),
                    new lslTokenId("AGENT_CROUCHING", "constants", 407),
                    new lslTokenId("AGENT_FLYING", "constants", 408),
                    new lslTokenId("AGENT_IN_AIR", "constants", 409),
                    new lslTokenId("AGENT_MOUSELOOK", "constants", 410),
                    new lslTokenId("AGENT_ON_OBJECT", "constants", 411),
                    new lslTokenId("AGENT_SCRIPTED", "constants", 412),
                    new lslTokenId("AGENT_SITTING", "constants", 413),
                    new lslTokenId("AGENT_TYPING", "constants", 414),
                    new lslTokenId("AGENT_WALKING", "constants", 415),
                    new lslTokenId("ALL_SIDES", "constants", 416),
                    new lslTokenId("ANIM_ON", "constants", 417),
                    new lslTokenId("ATTACH_BACK", "constants", 418),
                    new lslTokenId("ATTACH_BELLY", "constants", 419),
                    new lslTokenId("ATTACH_CHEST", "constants", 420),
                    new lslTokenId("ATTACH_CHIN", "constants", 421),
                    new lslTokenId("ATTACH_HEAD", "constants", 422),
                    new lslTokenId("ATTACH_LEAR", "constants", 423),
                    new lslTokenId("ATTACH_LEYE", "constants", 424),
                    new lslTokenId("ATTACH_LFOOT", "constants", 425),
                    new lslTokenId("ATTACH_LHAND", "constants", 426),
                    new lslTokenId("ATTACH_LHIP", "constants", 427),
                    new lslTokenId("ATTACH_LLARM", "constants", 428),
                    new lslTokenId("ATTACH_LLLEG", "constants", 429),
                    new lslTokenId("ATTACH_LPEC", "constants", 430),
                    new lslTokenId("ATTACH_LSHOULDER", "constants", 431),
                    new lslTokenId("ATTACH_LUARM", "constants", 432),
                    new lslTokenId("ATTACH_LULEG", "constants", 433),
                    new lslTokenId("ATTACH_MOUTH", "constants", 434),
                    new lslTokenId("ATTACH_NOSE", "constants", 435),
                    new lslTokenId("ATTACH_PELVIS", "constants", 436),
                    new lslTokenId("ATTACH_REAR", "constants", 437),
                    new lslTokenId("ATTACH_REYE", "constants", 438),
                    new lslTokenId("ATTACH_RFOOT", "constants", 439),
                    new lslTokenId("ATTACH_RHAND", "constants", 440),
                    new lslTokenId("ATTACH_RHIP", "constants", 441),
                    new lslTokenId("ATTACH_RLARM", "constants", 442),
                    new lslTokenId("ATTACH_RLLEG", "constants", 443),
                    new lslTokenId("ATTACH_RPEC", "constants", 444),
                    new lslTokenId("ATTACH_RSHOULDER", "constants", 445),
                    new lslTokenId("ATTACH_RUARM", "constants", 446),
                    new lslTokenId("ATTACH_RULEG", "constants", 447),
                    new lslTokenId("CAMERA_ACTIVE", "constants", 448),
                    new lslTokenId("CAMERA_BEHINDNESS_ANGLE", "constants", 449),
                    new lslTokenId("CAMERA_BEHINDNESS_LAG", "constants", 450),
                    new lslTokenId("CAMERA_DISTANCE", "constants", 451),
                    new lslTokenId("CAMERA_FOCUS", "constants", 452),
                    new lslTokenId("CAMERA_FOCUS_LAG", "constants", 453),
                    new lslTokenId("CAMERA_FOCUS_LOCKED", "constants", 454),
                    new lslTokenId("CAMERA_FOCUS_OFFSET", "constants", 455),
                    new lslTokenId("CAMERA_FOCUS_THRESHOLD", "constants", 456),
                    new lslTokenId("CAMERA_PITCH", "constants", 457),
                    new lslTokenId("CAMERA_POSITION", "constants", 458),
                    new lslTokenId("CAMERA_POSITION_LAG", "constants", 459),
                    new lslTokenId("CAMERA_POSITION_LOCKED", "constants", 460),
                    new lslTokenId("CAMERA_POSITION_THRESHOLD", "constants", 461),
                    new lslTokenId("CHANGED_ALLOWED_DROP", "constants", 462),
                    new lslTokenId("CHANGED_COLOR", "constants", 463),
                    new lslTokenId("CHANGED_INVENTORY", "constants", 464),
                    new lslTokenId("CHANGED_LINK", "constants", 465),
                    new lslTokenId("CHANGED_OWNER", "constants", 466),
                    new lslTokenId("CHANGED_REGION", "constants", 467),
                    new lslTokenId("CHANGED_REGION_START", "constants", 468),
                    new lslTokenId("CHANGED_SCALE", "constants", 469),
                    new lslTokenId("CHANGED_SHAPE", "constants", 470),
                    new lslTokenId("CHANGED_TELEPORT", "constants", 471),
                    new lslTokenId("CHANGED_TEXTURE", "constants", 472),
                    new lslTokenId("CLICK_ACTION_BUY", "constants", 473),
                    new lslTokenId("CLICK_ACTION_NONE", "constants", 474),
                    new lslTokenId("CLICK_ACTION_OPEN", "constants", 475),
                    new lslTokenId("CLICK_ACTION_OPEN_MEDIA", "constants", 476),
                    new lslTokenId("CLICK_ACTION_PAY", "constants", 477),
                    new lslTokenId("CLICK_ACTION_PLAY", "constants", 478),
                    new lslTokenId("CLICK_ACTION_SIT", "constants", 479),
                    new lslTokenId("CLICK_ACTION_TOUCH", "constants", 480),
                    new lslTokenId("CONTROL_BACK", "constants", 481),
                    new lslTokenId("CONTROL_DOWN", "constants", 482),
                    new lslTokenId("CONTROL_FWD", "constants", 483),
                    new lslTokenId("CONTROL_LBUTTON", "constants", 484),
                    new lslTokenId("CONTROL_LEFT", "constants", 485),
                    new lslTokenId("CONTROL_ML_LBUTTON", "constants", 486),
                    new lslTokenId("CONTROL_RIGHT", "constants", 487),
                    new lslTokenId("CONTROL_ROT_LEFT", "constants", 488),
                    new lslTokenId("CONTROL_ROT_RIGHT", "constants", 489),
                    new lslTokenId("CONTROL_UP", "constants", 490),
                    new lslTokenId("DATA_BORN", "constants", 491),
                    new lslTokenId("DATA_NAME", "constants", 492),
                    new lslTokenId("DATA_ONLINE", "constants", 493),
                    new lslTokenId("DATA_PAYINFO", "constants", 494),
                    new lslTokenId("DATA_RATING", "constants", 495),
                    new lslTokenId("DATA_SIM_POS", "constants", 496),
                    new lslTokenId("DATA_SIM_RATING", "constants", 497),
                    new lslTokenId("DATA_SIM_STATUS", "constants", 498),
                    new lslTokenId("DEBUG_CHANNEL", "constants", 499),
                    new lslTokenId("DEG_TO_RAD", "constants", 500),
                    new lslTokenId("_EOF", "constants", 501),
                    new lslTokenId("FALSE", "constants", 502),
                    new lslTokenId("HTTP_BODY_MAXLENGTH", "constants", 503),
                    new lslTokenId("HTTP_BODY_TRUNCATED", "constants", 504),
                    new lslTokenId("HTTP_METHOD", "constants", 505),
                    new lslTokenId("HTTP_MIMETYPE", "constants", 506),
                    new lslTokenId("HTTP_VERIFY_CERT", "constants", 507),
                    new lslTokenId("INVENTORY_ALL", "constants", 508),
                    new lslTokenId("INVENTORY_ANIMATION", "constants", 509),
                    new lslTokenId("INVENTORY_BODYPART", "constants", 510),
                    new lslTokenId("INVENTORY_CLOTHING", "constants", 511),
                    new lslTokenId("INVENTORY_GESTURE", "constants", 512),
                    new lslTokenId("INVENTORY_LANDMARK", "constants", 513),
                    new lslTokenId("INVENTORY_NONE", "constants", 514),
                    new lslTokenId("INVENTORY_NOTECARD", "constants", 515),
                    new lslTokenId("INVENTORY_OBJECT", "constants", 516),
                    new lslTokenId("INVENTORY_SCRIPT", "constants", 517),
                    new lslTokenId("INVENTORY_SOUND", "constants", 518),
                    new lslTokenId("INVENTORY_TEXTURE", "constants", 519),
                    new lslTokenId("LAND_LARGE_BRUSH", "constants", 520),
                    new lslTokenId("LAND_LEVEL", "constants", 521),
                    new lslTokenId("LAND_LOWER", "constants", 522),
                    new lslTokenId("LAND_MEDIUM_BRUSH", "constants", 523),
                    new lslTokenId("LAND_NOISE", "constants", 524),
                    new lslTokenId("LAND_RAISE", "constants", 525),
                    new lslTokenId("LAND_REVERT", "constants", 526),
                    new lslTokenId("LAND_SMALL_BRUSH", "constants", 527),
                    new lslTokenId("LAND_SMOOTH", "constants", 528),
                    new lslTokenId("LINK_ALL_CHILDREN", "constants", 529),
                    new lslTokenId("LINK_ALL_OTHERS", "constants", 530),
                    new lslTokenId("LINK_ROOT", "constants", 531),
                    new lslTokenId("LINK_SET", "constants", 532),
                    new lslTokenId("LINK_THIS", "constants", 533),
                    new lslTokenId("LIST_STAT_GEOMETRIC_MEAN", "constants", 534),
                    new lslTokenId("LIST_STAT_MAX", "constants", 535),
                    new lslTokenId("LIST_STAT_MEAN", "constants", 536),
                    new lslTokenId("LIST_STAT_MEDIAN", "constants", 537),
                    new lslTokenId("LIST_STAT_MIN", "constants", 538),
                    new lslTokenId("LIST_STAT_NUM_COUNT", "constants", 539),
                    new lslTokenId("LIST_STAT_RANGE", "constants", 540),
                    new lslTokenId("LIST_STAT_STD_DEV", "constants", 541),
                    new lslTokenId("LIST_STAT_SUM", "constants", 542),
                    new lslTokenId("LIST_STAT_SUM_SQUARES", "constants", 543),
                    new lslTokenId("LOOP", "constants", 544),
                    new lslTokenId("MASK_BASE", "constants", 545),
                    new lslTokenId("MASK_EVERYONE", "constants", 546),
                    new lslTokenId("MASK_GROUP", "constants", 547),
                    new lslTokenId("MASK_NEXT", "constants", 548),
                    new lslTokenId("MASK_OWNER", "constants", 549),
                    new lslTokenId("NULL_KEY", "constants", 550),
                    new lslTokenId("OBJECT_CREATOR", "constants", 551),
                    new lslTokenId("OBJECT_DESC", "constants", 552),
                    new lslTokenId("OBJECT_GROUP", "constants", 553),
                    new lslTokenId("OBJECT_NAME", "constants", 554),
                    new lslTokenId("OBJECT_OWNER", "constants", 555),
                    new lslTokenId("OBJECT_POS", "constants", 556),
                    new lslTokenId("OBJECT_ROT", "constants", 557),
                    new lslTokenId("OBJECT_UNKNOWN_DETAIL", "constants", 558),
                    new lslTokenId("OBJECT_VELOCITY", "constants", 559),
                    new lslTokenId("PARCEL_COUNT_GROUP", "constants", 560),
                    new lslTokenId("PARCEL_COUNT_OTHER", "constants", 561),
                    new lslTokenId("PARCEL_COUNT_OWNER", "constants", 562),
                    new lslTokenId("PARCEL_COUNT_SELECTED", "constants", 563),
                    new lslTokenId("PARCEL_COUNT_TEMP", "constants", 564),
                    new lslTokenId("PARCEL_COUNT_TOTAL", "constants", 565),
                    new lslTokenId("PARCEL_DETAILS_AREA", "constants", 566),
                    new lslTokenId("PARCEL_DETAILS_DESC", "constants", 567),
                    new lslTokenId("PARCEL_DETAILS_GROUP", "constants", 568),
                    new lslTokenId("PARCEL_DETAILS_NAME", "constants", 569),
                    new lslTokenId("PARCEL_DETAILS_OWNER", "constants", 570),
                    new lslTokenId("PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY", "constants", 571),
                    new lslTokenId("PARCEL_FLAG_ALLOW_CREATE_OBJECTS", "constants", 572),
                    new lslTokenId("PARCEL_FLAG_ALLOW_DAMAGE", "constants", 573),
                    new lslTokenId("PARCEL_FLAG_ALLOW_FLY", "constants", 574),
                    new lslTokenId("PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY", "constants", 575),
                    new lslTokenId("PARCEL_FLAG_ALLOW_GROUP_SCRIPTS", "constants", 576),
                    new lslTokenId("PARCEL_FLAG_ALLOW_LANDMARK", "constants", 577),
                    new lslTokenId("PARCEL_FLAG_ALLOW_SCRIPTS", "constants", 578),
                    new lslTokenId("PARCEL_FLAG_ALLOW_TERRAFORM", "constants", 579),
                    new lslTokenId("PARCEL_FLAG_LOCAL_SOUND_ONLY", "constants", 580),
                    new lslTokenId("PARCEL_FLAG_RESTRICT_PUSHOBJECT", "constants", 581),
                    new lslTokenId("PARCEL_FLAG_USE_ACCESS_GROUP", "constants", 582),
                    new lslTokenId("PARCEL_FLAG_USE_ACCESS_LIST", "constants", 583),
                    new lslTokenId("PARCEL_FLAG_USE_BAN_LIST", "constants", 584),
                    new lslTokenId("PARCEL_FLAG_USE_LAND_PASS_LIST", "constants", 585),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_AGENT", "constants", 586),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_AUTO_ALIGN", "constants", 587),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_DESC", "constants", 588),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_LOOP", "constants", 589),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_PAUSE", "constants", 590),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_PLAY", "constants", 591),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_SIZE", "constants", 592),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_STOP", "constants", 593),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_TEXTURE", "constants", 594),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_TIME", "constants", 595),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_TYPE", "constants", 596),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_UNLOAD", "constants", 597),
                    new lslTokenId("PARCEL_MEDIA_COMMAND_URL", "constants", 598),
                    new lslTokenId("PASSIVE", "constants", 599),
                    new lslTokenId("PAY_DEFAULT", "constants", 600),
                    new lslTokenId("PAY_HIDE", "constants", 601),
                    new lslTokenId("PAYMENT_INFO_ON_FILE", "constants", 602),
                    new lslTokenId("PAYMENT_INFO_USED", "constants", 603),
                    new lslTokenId("PERM_ALL", "constants", 604),
                    new lslTokenId("PERM_COPY", "constants", 605),
                    new lslTokenId("PERM_MODIFY", "constants", 606),
                    new lslTokenId("PERM_MOVE", "constants", 607),
                    new lslTokenId("PERM_TRANSFER", "constants", 608),
                    new lslTokenId("PERMISSION_ATTACH", "constants", 609),
                    new lslTokenId("PERMISSION_CHANGE_LINKS", "constants", 610),
                    new lslTokenId("PERMISSION_CONTROL_CAMERA", "constants", 611),
                    new lslTokenId("PERMISSION_DEBIT", "constants", 612),
                    new lslTokenId("PERMISSION_TAKE_CONTROLS", "constants", 613),
                    new lslTokenId("PERMISSION_TRACK_CAMERA", "constants", 614),
                    new lslTokenId("PERMISSION_TRIGGER_ANIMATION", "constants", 615),
                    new lslTokenId("PI", "constants", 616),
                    new lslTokenId("PI_BY_TWO", "constants", 617),
                    new lslTokenId("PING_PONG", "constants", 618),
                    new lslTokenId("PRIM_BUMP_BARK", "constants", 619),
                    new lslTokenId("PRIM_BUMP_BLOBS", "constants", 620),
                    new lslTokenId("PRIM_BUMP_BRICKS", "constants", 621),
                    new lslTokenId("PRIM_BUMP_BRIGHT", "constants", 622),
                    new lslTokenId("PRIM_BUMP_CHECKER", "constants", 623),
                    new lslTokenId("PRIM_BUMP_CONCRETE", "constants", 624),
                    new lslTokenId("PRIM_BUMP_DARK", "constants", 625),
                    new lslTokenId("PRIM_BUMP_DISKS", "constants", 626),
                    new lslTokenId("PRIM_BUMP_GRAVEL", "constants", 627),
                    new lslTokenId("PRIM_BUMP_LARGETILE", "constants", 628),
                    new lslTokenId("PRIM_BUMP_NONE", "constants", 629),
                    new lslTokenId("PRIM_BUMP_SHINY", "constants", 630),
                    new lslTokenId("PRIM_BUMP_SIDING", "constants", 631),
                    new lslTokenId("PRIM_BUMP_STONE", "constants", 632),
                    new lslTokenId("PRIM_BUMP_STUCCO", "constants", 633),
                    new lslTokenId("PRIM_BUMP_SUCTION", "constants", 634),
                    new lslTokenId("PRIM_BUMP_TILE", "constants", 635),
                    new lslTokenId("PRIM_BUMP_WEAVE", "constants", 636),
                    new lslTokenId("PRIM_BUMP_WOOD", "constants", 637),
                    new lslTokenId("PRIM_CAST_SHADOWS", "constants", 638),
                    new lslTokenId("PRIM_COLOR", "constants", 639),
                    new lslTokenId("PRIM_FLEXIBLE", "constants", 640),
                    new lslTokenId("PRIM_FULLBRIGHT", "constants", 641),
                    new lslTokenId("PRIM_GLOW", "constants", 642),
                    new lslTokenId("PRIM_HOLE_CIRCLE", "constants", 643),
                    new lslTokenId("PRIM_HOLE_DEFAULT", "constants", 644),
                    new lslTokenId("PRIM_HOLE_SQUARE", "constants", 645),
                    new lslTokenId("PRIM_HOLE_TRIANGLE", "constants", 646),
                    new lslTokenId("PRIM_MATERIAL", "constants", 647),
                    new lslTokenId("PRIM_MATERIAL_FLESH", "constants", 648),
                    new lslTokenId("PRIM_MATERIAL_GLASS", "constants", 649),
                    new lslTokenId("PRIM_MATERIAL_LIGHT", "constants", 650),
                    new lslTokenId("PRIM_MATERIAL_METAL", "constants", 651),
                    new lslTokenId("PRIM_MATERIAL_PLASTIC", "constants", 652),
                    new lslTokenId("PRIM_MATERIAL_RUBBER", "constants", 653),
                    new lslTokenId("PRIM_MATERIAL_STONE", "constants", 654),
                    new lslTokenId("PRIM_MATERIAL_WOOD", "constants", 655),
                    new lslTokenId("PRIM_PHANTOM", "constants", 656),
                    new lslTokenId("PRIM_PHYSICS", "constants", 657),
                    new lslTokenId("PRIM_POINT_LIGHT", "constants", 658),
                    new lslTokenId("PRIM_POSITION", "constants", 659),
                    new lslTokenId("PRIM_ROTATION", "constants", 660),
                    new lslTokenId("PRIM_SCULPT_FLAG_INVERT", "constants", 661),
                    new lslTokenId("PRIM_SCULPT_FLAG_MIRROR", "constants", 662),
                    new lslTokenId("PRIM_SCULPT_TYPE_CYLINDER", "constants", 663),
                    new lslTokenId("PRIM_SCULPT_TYPE_MASK", "constants", 664),
                    new lslTokenId("PRIM_SCULPT_TYPE_PLANE", "constants", 665),
                    new lslTokenId("PRIM_SCULPT_TYPE_SPHERE", "constants", 666),
                    new lslTokenId("PRIM_SCULPT_TYPE_TORUS", "constants", 667),
                    new lslTokenId("PRIM_SHINY_HIGH", "constants", 668),
                    new lslTokenId("PRIM_SHINY_LOW", "constants", 669),
                    new lslTokenId("PRIM_SHINY_MEDIUM", "constants", 670),
                    new lslTokenId("PRIM_SHINY_NONE", "constants", 671),
                    new lslTokenId("PRIM_SIZE", "constants", 672),
                    new lslTokenId("PRIM_TEMP_ON_REZ", "constants", 673),
                    new lslTokenId("PRIM_TEXGEN", "constants", 674),
                    new lslTokenId("PRIM_TEXGEN_DEFAULT", "constants", 675),
                    new lslTokenId("PRIM_TEXGEN_PLANAR", "constants", 676),
                    new lslTokenId("PRIM_TEXTURE", "constants", 677),
                    new lslTokenId("PRIM_TYPE", "constants", 678),
                    new lslTokenId("PRIM_TYPE_BOX", "constants", 679),
                    new lslTokenId("PRIM_TYPE_CYLINDER", "constants", 680),
                    new lslTokenId("PRIM_TYPE_PRISM", "constants", 681),
                    new lslTokenId("PRIM_TYPE_RING", "constants", 682),
                    new lslTokenId("PRIM_TYPE_SCULPT", "constants", 683),
                    new lslTokenId("PRIM_TYPE_SPHERE", "constants", 684),
                    new lslTokenId("PRIM_TYPE_TORUS", "constants", 685),
                    new lslTokenId("PRIM_TYPE_TUBE", "constants", 686),
                    new lslTokenId("PSYS_PART_BOUNCE_MASK", "constants", 687),
                    new lslTokenId("PSYS_PART_EMISSIVE_MASK", "constants", 688),
                    new lslTokenId("PSYS_PART_END_ALPHA", "constants", 689),
                    new lslTokenId("PSYS_PART_END_COLOR", "constants", 690),
                    new lslTokenId("PSYS_PART_END_SCALE", "constants", 691),
                    new lslTokenId("PSYS_PART_FLAGS", "constants", 692),
                    new lslTokenId("PSYS_PART_FOLLOW_SRC_MASK", "constants", 693),
                    new lslTokenId("PSYS_PART_FOLLOW_VELOCITY_MASK", "constants", 694),
                    new lslTokenId("PSYS_PART_INTERP_COLOR_MASK", "constants", 695),
                    new lslTokenId("PSYS_PART_INTERP_SCALE_MASK", "constants", 696),
                    new lslTokenId("PSYS_PART_MAX_AGE", "constants", 697),
                    new lslTokenId("PSYS_PART_START_ALPHA", "constants", 698),
                    new lslTokenId("PSYS_PART_START_COLOR", "constants", 699),
                    new lslTokenId("PSYS_PART_START_SCALE", "constants", 700),
                    new lslTokenId("PSYS_PART_TARGET_LINEAR_MASK", "constants", 701),
                    new lslTokenId("PSYS_PART_TARGET_POS_MASK", "constants", 702),
                    new lslTokenId("PSYS_PART_WIND_MASK", "constants", 703),
                    new lslTokenId("PSYS_SRC_ACCEL", "constants", 704),
                    new lslTokenId("PSYS_SRC_ANGLE_BEGIN", "constants", 705),
                    new lslTokenId("PSYS_SRC_ANGLE_END", "constants", 706),
                    new lslTokenId("PSYS_SRC_BURST_PART_COUNT", "constants", 707),
                    new lslTokenId("PSYS_SRC_BURST_RADIUS", "constants", 708),
                    new lslTokenId("PSYS_SRC_BURST_RATE", "constants", 709),
                    new lslTokenId("PSYS_SRC_BURST_SPEED_MAX", "constants", 710),
                    new lslTokenId("PSYS_SRC_BURST_SPEED_MIN", "constants", 711),
                    new lslTokenId("PSYS_SRC_INNERANGLE", "constants", 712),
                    new lslTokenId("PSYS_SRC_MAX_AGE", "constants", 713),
                    new lslTokenId("PSYS_SRC_OMEGA", "constants", 714),
                    new lslTokenId("PSYS_SRC_OUTERANGLE", "constants", 715),
                    new lslTokenId("PSYS_SRC_PATTERN", "constants", 716),
                    new lslTokenId("PSYS_SRC_PATTERN_ANGLE", "constants", 717),
                    new lslTokenId("PSYS_SRC_PATTERN_ANGLE_CONE", "constants", 718),
                    new lslTokenId("PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY", "constants", 719),
                    new lslTokenId("PSYS_SRC_PATTERN_DROP", "constants", 720),
                    new lslTokenId("PSYS_SRC_PATTERN_EXPLODE", "constants", 721),
                    new lslTokenId("PSYS_SRC_TARGET_KEY", "constants", 722),
                    new lslTokenId("PSYS_SRC_TEXTURE", "constants", 723),
                    new lslTokenId("PUBLIC_CHANNEL", "constants", 724),
                    new lslTokenId("RAD_TO_DEG", "constants", 725),
                    new lslTokenId("REGION_FLAG_ALLOW_DAMAGE", "constants", 726),
                    new lslTokenId("REGION_FLAG_ALLOW_DIRECT_TELEPORT", "constants", 727),
                    new lslTokenId("REGION_FLAG_BLOCK_FLY", "constants", 728),
                    new lslTokenId("REGION_FLAG_BLOCK_TERRAFORM", "constants", 729),
                    new lslTokenId("REGION_FLAG_DISABLE_COLLISIONS", "constants", 730),
                    new lslTokenId("REGION_FLAG_DISABLE_PHYSICS", "constants", 731),
                    new lslTokenId("REGION_FLAG_FIXED_SUN", "constants", 732),
                    new lslTokenId("REGION_FLAG_RESTRICT_PUSHOBJECT", "constants", 733),
                    new lslTokenId("REGION_FLAG_SANDBOX", "constants", 734),
                    new lslTokenId("REMOTE_DATA_CHANNEL", "constants", 735),
                    new lslTokenId("REMOTE_DATA_REPLY", "constants", 736),
                    new lslTokenId("REMOTE_DATA_REQUEST", "constants", 737),
                    new lslTokenId("REVERSE", "constants", 738),
                    new lslTokenId("ROTATE", "constants", 739),
                    new lslTokenId("SCALE", "constants", 740),
                    new lslTokenId("SCRIPTED", "constants", 741),
                    new lslTokenId("SMOOTH", "constants", 742),
                    new lslTokenId("SQRT2", "constants", 743),
                    new lslTokenId("STATUS_BLOCK_GRAB", "constants", 744),
                    new lslTokenId("STATUS_CAST_SHADOWS", "constants", 745),
                    new lslTokenId("STATUS_DIE_AT_EDGE", "constants", 746),
                    new lslTokenId("STATUS_PHANTOM", "constants", 747),
                    new lslTokenId("STATUS_PHYSICS", "constants", 748),
                    new lslTokenId("STATUS_RETURN_AT_EDGE", "constants", 749),
                    new lslTokenId("STATUS_ROTATE_X", "constants", 750),
                    new lslTokenId("STATUS_ROTATE_Y", "constants", 751),
                    new lslTokenId("STATUS_ROTATE_Z", "constants", 752),
                    new lslTokenId("STATUS_SANDBOX", "constants", 753),
                    new lslTokenId("STRING_TRIM", "constants", 754),
                    new lslTokenId("STRING_TRIM_HEAD", "constants", 755),
                    new lslTokenId("STRING_TRIM_TAIL", "constants", 756),
                    new lslTokenId("TEXTURE_BLANK", "constants", 757),
                    new lslTokenId("TEXTURE_DEFAULT", "constants", 758),
                    new lslTokenId("TEXTURE_PLYWOOD", "constants", 759),
                    new lslTokenId("TEXTURE_TRANSPARENT", "constants", 760),
                    new lslTokenId("TOUCH_INVALID_FACE", "constants", 761),
                    new lslTokenId("TOUCH_INVALID_TEXCOORD", "constants", 762),
                    new lslTokenId("TOUCH_INVALID_VECTOR", "constants", 763),
                    new lslTokenId("TRUE", "constants", 764),
                    new lslTokenId("TWO_PI", "constants", 765),
                    new lslTokenId("TYPE_FLOAT", "constants", 766),
                    new lslTokenId("TYPE_INTEGER", "constants", 767),
                    new lslTokenId("TYPE_INVALID", "constants", 768),
                    new lslTokenId("TYPE_KEY", "constants", 769),
                    new lslTokenId("TYPE_ROTATION", "constants", 770),
                    new lslTokenId("TYPE_STRING", "constants", 771),
                    new lslTokenId("TYPE_VECTOR", "constants", 772),
                    new lslTokenId("URL_REQUEST_DENIED", "constants", 773),
                    new lslTokenId("URL_REQUEST_GRANTED", "constants", 774),
                    new lslTokenId("VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY", "constants", 775),
                    new lslTokenId("VEHICLE_ANGULAR_DEFLECTION_TIMESCALE", "constants", 776),
                    new lslTokenId("VEHICLE_ANGULAR_FRICTION_TIMESCALE", "constants", 777),
                    new lslTokenId("VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE", "constants", 778),
                    new lslTokenId("VEHICLE_ANGULAR_MOTOR_DIRECTION", "constants", 779),
                    new lslTokenId("VEHICLE_ANGULAR_MOTOR_TIMESCALE", "constants", 780),
                    new lslTokenId("VEHICLE_BANKING_EFFICIENCY", "constants", 781),
                    new lslTokenId("VEHICLE_BANKING_MIX", "constants", 782),
                    new lslTokenId("VEHICLE_BANKING_TIMESCALE", "constants", 783),
                    new lslTokenId("VEHICLE_BUOYANCY", "constants", 784),
                    new lslTokenId("VEHICLE_FLAG_CAMERA_DECOUPLED", "constants", 785),
                    new lslTokenId("VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT", "constants", 786),
                    new lslTokenId("VEHICLE_FLAG_HOVER_TERRAIN_ONLY", "constants", 787),
                    new lslTokenId("VEHICLE_FLAG_HOVER_UP_ONLY", "constants", 788),
                    new lslTokenId("VEHICLE_FLAG_HOVER_WATER_ONLY", "constants", 789),
                    new lslTokenId("VEHICLE_FLAG_LIMIT_MOTOR_UP", "constants", 790),
                    new lslTokenId("VEHICLE_FLAG_LIMIT_ROLL_ONLY", "constants", 791),
                    new lslTokenId("VEHICLE_FLAG_MOUSELOOK_BANK", "constants", 792),
                    new lslTokenId("VEHICLE_FLAG_MOUSELOOK_STEER", "constants", 793),
                    new lslTokenId("VEHICLE_FLAG_NO_DEFLECTION_UP", "constants", 794),
                    new lslTokenId("VEHICLE_HOVER_EFFICIENCY", "constants", 795),
                    new lslTokenId("VEHICLE_HOVER_HEIGHT", "constants", 796),
                    new lslTokenId("VEHICLE_HOVER_TIMESCALE", "constants", 797),
                    new lslTokenId("VEHICLE_LINEAR_DEFLECTION_EFFICIENCY", "constants", 798),
                    new lslTokenId("VEHICLE_LINEAR_DEFLECTION_TIMESCALE", "constants", 799),
                    new lslTokenId("VEHICLE_LINEAR_FRICTION_TIMESCALE", "constants", 800),
                    new lslTokenId("VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE", "constants", 801),
                    new lslTokenId("VEHICLE_LINEAR_MOTOR_DIRECTION", "constants", 802),
                    new lslTokenId("VEHICLE_LINEAR_MOTOR_OFFSET", "constants", 803),
                    new lslTokenId("VEHICLE_LINEAR_MOTOR_TIMESCALE", "constants", 804),
                    new lslTokenId("VEHICLE_REFERENCE_FRAME", "constants", 805),
                    new lslTokenId("VEHICLE_TYPE_AIRPLANE", "constants", 806),
                    new lslTokenId("VEHICLE_TYPE_BALLOON", "constants", 807),
                    new lslTokenId("VEHICLE_TYPE_BOAT", "constants", 808),
                    new lslTokenId("VEHICLE_TYPE_CAR", "constants", 809),
                    new lslTokenId("VEHICLE_TYPE_NONE", "constants", 810),
                    new lslTokenId("VEHICLE_TYPE_SLED", "constants", 811),
                    new lslTokenId("VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY", "constants", 812),
                    new lslTokenId("VEHICLE_VERTICAL_ATTRACTION_TIMESCALE", "constants", 813),
                    new lslTokenId("ZERO_ROTATION", "constants", 814),
                    new lslTokenId("ZERO_VECTOR", "constants", 815),
                    new lslTokenId("INTEGER_LITERAL", "literal", 816),
                    new lslTokenId("DECIMAL_LITERAL", "literal", 817),
                    new lslTokenId("HEX_LITERAL", "literal", 818),
                    new lslTokenId("OCTAL_LITERAL", "literal", 819),
                    new lslTokenId("FLOATING_POINT_LITERAL", "literal", 820),
                    new lslTokenId("DECIMAL_FLOATING_POINT_LITERAL", "literal", 821),
                    new lslTokenId("DECIMAL_EXPONENT", "number", 822),
                    new lslTokenId("HEXADECIMAL_FLOATING_POINT_LITERAL", "literal", 823),
                    new lslTokenId("HEXADECIMAL_EXPONENT", "number", 824),
                    new lslTokenId("CHARACTER_LITERAL", "literal", 825),
                    new lslTokenId("STRING_LITERAL", "literal", 826),
                    new lslTokenId("IDENTIFIER", "identifier", 827),
                    new lslTokenId("LETTER", "literal", 828),
                    new lslTokenId("PART_LETTER", "literal", 829),
                    new lslTokenId("LPAREN", "operator", 830),
                    new lslTokenId("RPAREN", "operator", 831),
                    new lslTokenId("LBRACE", "operator", 832),
                    new lslTokenId("RBRACE", "operator", 833),
                    new lslTokenId("LBRACKET", "operator", 834),
                    new lslTokenId("RBRACKET", "operator", 835),
                    new lslTokenId("SEMICOLON", "operator", 836),
                    new lslTokenId("COMMA", "operator", 837),
                    new lslTokenId("DOT", "operator", 838),
                    new lslTokenId("AT", "operator", 839),
                    new lslTokenId("ASSIGN", "operator", 840),
                    new lslTokenId("LT", "operator", 841),
                    new lslTokenId("BANG", "operator", 842),
                    new lslTokenId("TILDE", "operator", 843),
                    new lslTokenId("HOOK", "operator", 844),
                    new lslTokenId("COLON", "operator", 845),
                    new lslTokenId("EQ", "operator", 846),
                    new lslTokenId("LE", "operator", 847),
                    new lslTokenId("GE", "operator", 848),
                    new lslTokenId("NE", "operator", 849),
                    new lslTokenId("SC_OR", "operator", 850),
                    new lslTokenId("SC_AND", "operator", 851),
                    new lslTokenId("INCR", "operator", 852),
                    new lslTokenId("DECR", "operator", 853),
                    new lslTokenId("PLUS", "operator", 854),
                    new lslTokenId("MINUS", "operator", 855),
                    new lslTokenId("STAR", "operator", 856),
                    new lslTokenId("SLASH", "operator", 857),
                    new lslTokenId("BIT_AND", "operator", 858),
                    new lslTokenId("BIT_OR", "operator", 859),
                    new lslTokenId("XOR", "operator", 860),
                    new lslTokenId("REM", "operator", 861),
                    new lslTokenId("LSHIFT", "operator", 862),
                    new lslTokenId("PLUSASSIGN", "operator", 863),
                    new lslTokenId("MINUSASSIGN", "operator", 864),
                    new lslTokenId("STARASSIGN", "operator", 865),
                    new lslTokenId("SLASHASSIGN", "operator", 866),
                    new lslTokenId("ANDASSIGN", "operator", 867),
                    new lslTokenId("ORASSIGN", "operator", 868),
                    new lslTokenId("XORASSIGN", "operator", 869),
                    new lslTokenId("REMASSIGN", "operator", 870),
                    new lslTokenId("LSHIFTASSIGN", "operator", 871),
                    new lslTokenId("RSIGNEDSHIFTASSIGN", "operator", 872),
                    new lslTokenId("RUNSIGNEDSHIFTASSIGN", "operator", 873),
                    new lslTokenId("ELLIPSIS", "operator", 874),
                    new lslTokenId("RUNSIGNEDSHIFT", "operator", 875),
                    new lslTokenId("RSIGNEDSHIFT", "operator", 876),
                    new lslTokenId("GT", "operator", 877), /** Lexical state. */
                });
        idToToken = new HashMap<Integer, lslTokenId>();
        for (lslTokenId token : tokens) {
            idToToken.put(token.ordinal(), token);
        }
    }

    static synchronized lslTokenId getToken(int id) {
        if (idToToken == null) {
            init();
        }
        return idToToken.get(id);
    }

    protected synchronized Collection<lslTokenId> createTokenIds() {
        if (tokens == null) {
            init();
        }
        return tokens;
    }

    protected synchronized Lexer<lslTokenId> createLexer(LexerRestartInfo<lslTokenId> info) {
        return new lslLexer(info);
    }

    protected String mimeType() {
        return "text/x-lsl";
    }
}
